﻿<%@ page language="C#" autoeventwireup="true" inherits="Default2, App_Web_qs18olmt" %>

<%@ Register assembly="OrgChart" namespace="OrgChart.Core" tagprefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Direct Downline View</title>   
</head>
<body>
<form id="form1" runat="server">
    <div style="height: 500px">
    <h1> Direct Downline View</h1>
       <asp:TreeView
                        ID="TreeView1"
                        runat="server" DataSourceID="XmlDataSource1" ShowLines="True" 
                onselectednodechanged="TreeView1_SelectedNodeChanged" Font-Bold="True" >
            <DataBindings>
                <asp:TreeNodeBinding DataMember="Node" TextField="code" />
            </DataBindings>
        </asp:TreeView>
        <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/direct_tree.xml">
        </asp:XmlDataSource>
            <br />
            <asp:DetailsView ID="DetailsView1" runat="server" CellPadding="4" 
                ForeColor="#333333" GridLines="None" Height="50px" Width="125px">
                <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <CommandRowStyle BackColor="#E2DED6" Font-Bold="True" />
                <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
                <FieldHeaderStyle BackColor="#E9ECF1" Font-Bold="True" />
                <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                <EditRowStyle BackColor="#999999" />
                <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
            </asp:DetailsView>
       <br />
    </div>
    </form>
    
</body>
</html>
